package com.ruoyi.xp.seller.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 虾皮卖家商品轨迹信息对象 t_xp_seller_item_info
 * 
 * @author chdx
 * @date 2022-11-27
 */
public class XpSellerItemInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 表的id */
    private Long infoId;

    /** 批次号 */
    @Excel(name = "批次号")
    private Long batchId;

    /** 商品id */
    @Excel(name = "商品id")
    private Long itemId;

    /** 店铺id */
    @Excel(name = "店铺id")
    private Long shopId;

    /** 店铺链接 */
    @Excel(name = "店铺链接")
    private String shopUrl;

    /** 店铺名称 */
    @Excel(name = "店铺名称")
    private String shopName;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String itemName;

    /** 库存 */
    @Excel(name = "库存")
    private Long stock;

    /** 状态(猜) */
    @Excel(name = "状态(猜)")
    private Long status;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private String ctime;

    /** 近30天销量 */
    @Excel(name = "近30天销量")
    private Long sold;

    /** 品类id */
    @Excel(name = "品类id")
    private Long catId;

    /** 品牌 */
    @Excel(name = "品牌")
    private String brand;

    /** 评论数 */
    @Excel(name = "评论数")
    private Long cmtCount;

    /** 标志 */
    @Excel(name = "标志")
    private String flag;

    /** 产品状态 */
    @Excel(name = "产品状态")
    private String itemStatus;

    /** 商品价格 */
    @Excel(name = "商品价格")
    private BigDecimal price;

    /** 商品人民币价格 */
    @Excel(name = "商品人民币价格")
    private BigDecimal priceCny;

    /** 商品最低价 */
    @Excel(name = "商品最低价")
    private BigDecimal priceMin;

    /** 商品最高价 */
    @Excel(name = "商品最高价")
    private BigDecimal priceMax;

    /** 商品打折前最低价 */
    @Excel(name = "商品打折前最低价")
    private BigDecimal priceMinBeforeDiscount;

    /** 商品打折前最高价 */
    @Excel(name = "商品打折前最高价")
    private BigDecimal priceMaxBeforeDiscount;

    /** 是否显示藏价 */
    @Excel(name = "是否显示藏价")
    private String hiddenPriceDisplay;

    /** 商品打折前价格 */
    @Excel(name = "商品打折前价格")
    private BigDecimal priceBeforeDiscount;

    /** 是否有最低价担保 */
    @Excel(name = "是否有最低价担保")
    private String hasLowestPriceGuarantee;

    /** 展示折扣率 */
    @Excel(name = "展示折扣率")
    private Long showDiscount;

    /** 折扣率 */
    @Excel(name = "折扣率")
    private Long rawDiscount;

    /** 折扣 */
    @Excel(name = "折扣")
    private String discount;

    /** 站点 */
    @Excel(name = "站点")
    private String country;

    /** 数据创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "数据创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 历史销量 */
    @Excel(name = "历史销量")
    private Long historicalSold;

    public void setInfoId(Long infoId) 
    {
        this.infoId = infoId;
    }

    public Long getInfoId() 
    {
        return infoId;
    }
    public void setBatchId(Long batchId) 
    {
        this.batchId = batchId;
    }

    public Long getBatchId() 
    {
        return batchId;
    }
    public void setItemId(Long itemId) 
    {
        this.itemId = itemId;
    }

    public Long getItemId() 
    {
        return itemId;
    }
    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }
    public void setShopUrl(String shopUrl) 
    {
        this.shopUrl = shopUrl;
    }

    public String getShopUrl() 
    {
        return shopUrl;
    }
    public void setShopName(String shopName) 
    {
        this.shopName = shopName;
    }

    public String getShopName() 
    {
        return shopName;
    }
    public void setItemName(String itemName) 
    {
        this.itemName = itemName;
    }

    public String getItemName() 
    {
        return itemName;
    }
    public void setStock(Long stock) 
    {
        this.stock = stock;
    }

    public Long getStock() 
    {
        return stock;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setCtime(String ctime) 
    {
        this.ctime = ctime;
    }

    public String getCtime() 
    {
        return ctime;
    }
    public void setSold(Long sold) 
    {
        this.sold = sold;
    }

    public Long getSold() 
    {
        return sold;
    }
    public void setCatId(Long catId) 
    {
        this.catId = catId;
    }

    public Long getCatId() 
    {
        return catId;
    }
    public void setBrand(String brand) 
    {
        this.brand = brand;
    }

    public String getBrand() 
    {
        return brand;
    }
    public void setCmtCount(Long cmtCount) 
    {
        this.cmtCount = cmtCount;
    }

    public Long getCmtCount() 
    {
        return cmtCount;
    }
    public void setFlag(String flag) 
    {
        this.flag = flag;
    }

    public String getFlag() 
    {
        return flag;
    }
    public void setItemStatus(String itemStatus) 
    {
        this.itemStatus = itemStatus;
    }

    public String getItemStatus() 
    {
        return itemStatus;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setPriceCny(BigDecimal priceCny) 
    {
        this.priceCny = priceCny;
    }

    public BigDecimal getPriceCny() 
    {
        return priceCny;
    }
    public void setPriceMin(BigDecimal priceMin) 
    {
        this.priceMin = priceMin;
    }

    public BigDecimal getPriceMin() 
    {
        return priceMin;
    }
    public void setPriceMax(BigDecimal priceMax) 
    {
        this.priceMax = priceMax;
    }

    public BigDecimal getPriceMax() 
    {
        return priceMax;
    }
    public void setPriceMinBeforeDiscount(BigDecimal priceMinBeforeDiscount) 
    {
        this.priceMinBeforeDiscount = priceMinBeforeDiscount;
    }

    public BigDecimal getPriceMinBeforeDiscount() 
    {
        return priceMinBeforeDiscount;
    }
    public void setPriceMaxBeforeDiscount(BigDecimal priceMaxBeforeDiscount) 
    {
        this.priceMaxBeforeDiscount = priceMaxBeforeDiscount;
    }

    public BigDecimal getPriceMaxBeforeDiscount() 
    {
        return priceMaxBeforeDiscount;
    }
    public void setHiddenPriceDisplay(String hiddenPriceDisplay) 
    {
        this.hiddenPriceDisplay = hiddenPriceDisplay;
    }

    public String getHiddenPriceDisplay() 
    {
        return hiddenPriceDisplay;
    }
    public void setPriceBeforeDiscount(BigDecimal priceBeforeDiscount) 
    {
        this.priceBeforeDiscount = priceBeforeDiscount;
    }

    public BigDecimal getPriceBeforeDiscount() 
    {
        return priceBeforeDiscount;
    }
    public void setHasLowestPriceGuarantee(String hasLowestPriceGuarantee) 
    {
        this.hasLowestPriceGuarantee = hasLowestPriceGuarantee;
    }

    public String getHasLowestPriceGuarantee() 
    {
        return hasLowestPriceGuarantee;
    }
    public void setShowDiscount(Long showDiscount) 
    {
        this.showDiscount = showDiscount;
    }

    public Long getShowDiscount() 
    {
        return showDiscount;
    }
    public void setRawDiscount(Long rawDiscount) 
    {
        this.rawDiscount = rawDiscount;
    }

    public Long getRawDiscount() 
    {
        return rawDiscount;
    }
    public void setDiscount(String discount) 
    {
        this.discount = discount;
    }

    public String getDiscount() 
    {
        return discount;
    }
    public void setCountry(String country) 
    {
        this.country = country;
    }

    public String getCountry() 
    {
        return country;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setHistoricalSold(Long historicalSold) 
    {
        this.historicalSold = historicalSold;
    }

    public Long getHistoricalSold() 
    {
        return historicalSold;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("infoId", getInfoId())
            .append("batchId", getBatchId())
            .append("itemId", getItemId())
            .append("shopId", getShopId())
            .append("shopUrl", getShopUrl())
            .append("shopName", getShopName())
            .append("itemName", getItemName())
            .append("stock", getStock())
            .append("status", getStatus())
            .append("ctime", getCtime())
            .append("sold", getSold())
            .append("catId", getCatId())
            .append("brand", getBrand())
            .append("cmtCount", getCmtCount())
            .append("flag", getFlag())
            .append("itemStatus", getItemStatus())
            .append("price", getPrice())
            .append("priceCny", getPriceCny())
            .append("priceMin", getPriceMin())
            .append("priceMax", getPriceMax())
            .append("priceMinBeforeDiscount", getPriceMinBeforeDiscount())
            .append("priceMaxBeforeDiscount", getPriceMaxBeforeDiscount())
            .append("hiddenPriceDisplay", getHiddenPriceDisplay())
            .append("priceBeforeDiscount", getPriceBeforeDiscount())
            .append("hasLowestPriceGuarantee", getHasLowestPriceGuarantee())
            .append("showDiscount", getShowDiscount())
            .append("rawDiscount", getRawDiscount())
            .append("discount", getDiscount())
            .append("country", getCountry())
            .append("createDate", getCreateDate())
            .append("historicalSold", getHistoricalSold())
            .toString();
    }
}
